<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="form" uri="/WEB-INF/tlds/hdiv-spring-form-3_0_4.tld"%>
  <head>    
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta content="ES" http-equiv="Content-Language">    
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="-1">    
    <meta content="post-check=0, pre-check=0" http-equiv="Cache-Control">   
    <link href="estilos.css" rel="stylesheet" type="text/css">      
    <script type="text/javascript" src="Scripts/AC_RunActiveContent.js"></script>
    <script type="text/javascript" src="javascript/login.js"></script>
    <script type="text/javascript" src="javascript/browser-detect.js"></script>
    <script type=text/javascript src="javascript/click.js"></script>    
    <script type=text/javascript src="javascript/navegacion.js"></script>
    <%--<script type=text/javascript src="javascript/jquery.bestupper.min.js"></script>--%>   
    <script src="javascript/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">           
        
        function validar(){           
            validacionBrowser();               
        }    
        
        function validacionBrowser(){
            
            if ( BrowserDetect.browser == 'Explorer' ){
                //alert("Navegador IE Permitido");
                return true;                
            }else if ( BrowserDetect.browser == 'Firefox' ){
                alert("Navegador Firefox No permitido");
                //return true;    //COMENTAR            
                self.close(); //DESCOMENTAR
            }else{
                alert("Navegador no permitido");
                return false;           
            }     
        }   
        
         
    </script>   
    <title><tiles:getAsString name="titulo"/></title>
  </head>
  
  <%-- <body onkeydown="onKeyDown();disable_shift(event);disable_ctrl(event)" onkeyup="disable_shift(event);disable_ctrl(event)" onload="validar();"> --%>
  <body onload="validar();">
  
  <table width="775" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tr valign="top">
        <td><tiles:insertAttribute name="cabPagina"/></td>
      </tr>
      <tr valign="top">
        <td><tiles:insertAttribute name="contenido"/></td>
      </tr>      
      <tr valign="top">
        <td><tiles:insertAttribute name="piePagina"/></td>
      </tr>
    </table>    
    </body>
